<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0,viewport-fit=cover"><title>Linux 之旅 | Camelia's Blog</title><meta name="author" content="白宣"><meta name="copyright" content="白宣"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="🐧 我的 Linux 之旅：从“小白”到“小黑”&gt; 警告：以下内容可能包含大量命令行、踩坑记录和“我为什么会格式化掉整个硬盘”的血泪史。  🧭 当前进度：60%（还在爬坑中）   发行版 使用时间 当前状态 备注    openSUSE Tumbleweed 2025.03 → 至今 ✅ 备用! 滚动更新真香，滚炸也真疼   Ubuntu 22.04 LTS 2024.12 → 2025">
<meta property="og:type" content="article">
<meta property="og:title" content="Linux 之旅">
<meta property="og:url" content="http://example.com/2025/10/06/Linux/index.html">
<meta property="og:site_name" content="Camelia&#39;s Blog">
<meta property="og:description" content="🐧 我的 Linux 之旅：从“小白”到“小黑”&gt; 警告：以下内容可能包含大量命令行、踩坑记录和“我为什么会格式化掉整个硬盘”的血泪史。  🧭 当前进度：60%（还在爬坑中）   发行版 使用时间 当前状态 备注    openSUSE Tumbleweed 2025.03 → 至今 ✅ 备用! 滚动更新真香，滚炸也真疼   Ubuntu 22.04 LTS 2024.12 → 2025">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://free.picui.cn/free/2025/08/01/688c07c335005.jpeg">
<meta property="article:published_time" content="2025-10-06T03:57:19.000Z">
<meta property="article:modified_time" content="2025-10-06T04:04:24.817Z">
<meta property="article:author" content="白宣">
<meta property="article:tag" content="Linux">
<meta property="article:tag" content="openSUSE">
<meta property="article:tag" content="Ubuntu">
<meta property="article:tag" content="CentOS">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://free.picui.cn/free/2025/08/01/688c07c335005.jpeg"><script type="application/ld+json">{
  "@context": "https://schema.org",
  "@type": "BlogPosting",
  "headline": "Linux 之旅",
  "url": "http://example.com/2025/10/06/Linux/",
  "image": "https://free.picui.cn/free/2025/08/01/688c07c335005.jpeg",
  "datePublished": "2025-10-06T03:57:19.000Z",
  "dateModified": "2025-10-06T04:04:24.817Z",
  "author": [
    {
      "@type": "Person",
      "name": "白宣",
      "url": "http://example.com"
    }
  ]
}</script><link rel="shortcut icon" href="/img/favicon.png"><link rel="canonical" href="http://example.com/2025/10/06/Linux/index.html"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css?v=5.5.1"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@7.1.0/css/all.min.css"><script>
    (() => {
      
    const saveToLocal = {
      set: (key, value, ttl) => {
        if (!ttl) return
        const expiry = Date.now() + ttl * 86400000
        localStorage.setItem(key, JSON.stringify({ value, expiry }))
      },
      get: key => {
        const itemStr = localStorage.getItem(key)
        if (!itemStr) return undefined
        const { value, expiry } = JSON.parse(itemStr)
        if (Date.now() > expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return value
      }
    }

    window.btf = {
      saveToLocal,
      getScript: (url, attr = {}) => new Promise((resolve, reject) => {
        const script = document.createElement('script')
        script.src = url
        script.async = true
        Object.entries(attr).forEach(([key, val]) => script.setAttribute(key, val))
        script.onload = script.onreadystatechange = () => {
          if (!script.readyState || /loaded|complete/.test(script.readyState)) resolve()
        }
        script.onerror = reject
        document.head.appendChild(script)
      }),
      getCSS: (url, id) => new Promise((resolve, reject) => {
        const link = document.createElement('link')
        link.rel = 'stylesheet'
        link.href = url
        if (id) link.id = id
        link.onload = link.onreadystatechange = () => {
          if (!link.readyState || /loaded|complete/.test(link.readyState)) resolve()
        }
        link.onerror = reject
        document.head.appendChild(link)
      }),
      addGlobalFn: (key, fn, name = false, parent = window) => {
        if (!false && key.startsWith('pjax')) return
        const globalFn = parent.globalFn || {}
        globalFn[key] = globalFn[key] || {}
        globalFn[key][name || Object.keys(globalFn[key]).length] = fn
        parent.globalFn = globalFn
      }
    }
  
      
      const activateDarkMode = () => {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      const activateLightMode = () => {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }

      btf.activateDarkMode = activateDarkMode
      btf.activateLightMode = activateLightMode

      const theme = saveToLocal.get('theme')
    
          theme === 'dark' ? activateDarkMode() : theme === 'light' ? activateLightMode() : null
        
      
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        document.documentElement.classList.toggle('hide-aside', asideStatus === 'hide')
      }
    
      
    const detectApple = () => {
      if (/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)) {
        document.documentElement.classList.add('apple')
      }
    }
    detectApple()
  
    })()
  </script><script>const GLOBAL_CONFIG = {
  root: '/',
  algolia: undefined,
  localSearch: undefined,
  translate: undefined,
  highlight: {"plugin":"highlight.js","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false,"highlightFullpage":false,"highlightMacStyle":false},
  copy: {
    success: '复制成功',
    error: '复制失败',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '',
  dateSuffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  lightbox: 'null',
  Snackbar: undefined,
  infinitegrid: {
    js: 'https://cdn.jsdelivr.net/npm/@egjs/infinitegrid@4.12.0/dist/infinitegrid.min.js',
    buttonText: '加载更多'
  },
  isPhotoFigcaption: false,
  islazyloadPlugin: false,
  isAnchor: false,
  percent: {
    toc: true,
    rightside: false,
  },
  autoDarkmode: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: 'Linux 之旅',
  isHighlightShrink: false,
  isToc: true,
  pageType: 'post'
}</script><meta name="generator" content="Hexo 7.3.0"></head><body><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img text-center"><img src="/img/loading.gif" data-original="https://free.picui.cn/free/2025/08/01/688c07c335005.jpeg" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="site-data text-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">4</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">9</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">2</div></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 主页</span></a></div><div class="menus_item"><span class="site-page group"><i class="fa-fw fa fa-graduation-cap"></i><span> 博文</span><i class="fas fa-chevron-down"></i></span><ul class="menus_item_child"><li><a class="site-page child" href="/categories/"><i class="fa-fw fa fa-archive"></i><span> 分类</span></a></li><li><a class="site-page child" href="/tags/"><i class="fa-fw fa fa-tags"></i><span> 标签</span></a></li><li><a class="site-page child" href="/archives/"><i class="fa-fw fa fa-folder-open"></i><span> 归档</span></a></li></ul></div><div class="menus_item"><span class="site-page group"><i class="fa-fw fas fa-list"></i><span> 生活</span><i class="fas fa-chevron-down"></i></span><ul class="menus_item_child"><li><a class="site-page child" href="/shuoshuo/"><i class="fa-fw fa fa-comments-o"></i><span> 分享</span></a></li><li><a class="site-page child" href="/photos/"><i class="fa-fw fa fa-camera-retro"></i><span> 相册</span></a></li><li><a class="site-page child" href="/music/"><i class="fa-fw fa fa-music"></i><span> 音乐</span></a></li><li><a class="site-page child" href="/movies/"><i class="fa-fw fas fa-video"></i><span> 影视</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/links/"><i class="fa-fw fa fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/comment/"><i class="fa-fw fa fa-paper-plane"></i><span> 留言板</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于笔者</span></a></div></div></div></div><div class="post" id="body-wrap"><header class="post-bg" id="page-header"><nav id="nav"><span id="blog-info"><a class="nav-site-title" href="/"><span class="site-name">Camelia's Blog</span></a><a class="nav-page-title" href="/"><span class="site-name">Linux 之旅</span><span class="site-name"><i class="fa-solid fa-circle-arrow-left"></i><span>  返回首页</span></span></a></span><div id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 主页</span></a></div><div class="menus_item"><span class="site-page group"><i class="fa-fw fa fa-graduation-cap"></i><span> 博文</span><i class="fas fa-chevron-down"></i></span><ul class="menus_item_child"><li><a class="site-page child" href="/categories/"><i class="fa-fw fa fa-archive"></i><span> 分类</span></a></li><li><a class="site-page child" href="/tags/"><i class="fa-fw fa fa-tags"></i><span> 标签</span></a></li><li><a class="site-page child" href="/archives/"><i class="fa-fw fa fa-folder-open"></i><span> 归档</span></a></li></ul></div><div class="menus_item"><span class="site-page group"><i class="fa-fw fas fa-list"></i><span> 生活</span><i class="fas fa-chevron-down"></i></span><ul class="menus_item_child"><li><a class="site-page child" href="/shuoshuo/"><i class="fa-fw fa fa-comments-o"></i><span> 分享</span></a></li><li><a class="site-page child" href="/photos/"><i class="fa-fw fa fa-camera-retro"></i><span> 相册</span></a></li><li><a class="site-page child" href="/music/"><i class="fa-fw fa fa-music"></i><span> 音乐</span></a></li><li><a class="site-page child" href="/movies/"><i class="fa-fw fas fa-video"></i><span> 影视</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/links/"><i class="fa-fw fa fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/comment/"><i class="fa-fw fa fa-paper-plane"></i><span> 留言板</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于笔者</span></a></div></div><div id="toggle-menu"><span class="site-page"><i class="fas fa-bars fa-fw"></i></span></div></div></nav><div id="post-info"><h1 class="post-title">Linux 之旅</h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2025-10-06T03:57:19.000Z" title="发表于 2025-10-06 11:57:19">2025-10-06</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2025-10-06T04:04:24.817Z" title="更新于 2025-10-06 12:04:24">2025-10-06</time></span></div><div class="meta-secondline"><span class="post-meta-separator">|</span><span class="post-meta-pv-cv" id="" data-flag-title=""><i class="far fa-eye fa-fw post-meta-icon"></i><span class="post-meta-label">浏览量:</span><span id="busuanzi_value_page_pv"><i class="fa-solid fa-spinner fa-spin"></i></span></span></div></div></div></header><main class="layout" id="content-inner"><div id="post"><article class="container post-content" id="article-container"><h1 id="🐧-我的-Linux-之旅：从“小白”到“小黑”"><a href="#🐧-我的-Linux-之旅：从“小白”到“小黑”" class="headerlink" title="🐧 我的 Linux 之旅：从“小白”到“小黑”"></a>🐧 我的 Linux 之旅：从“小白”到“小黑”</h1><p>&gt; 警告：以下内容可能包含大量命令行、踩坑记录和“我为什么会格式化掉整个硬盘”的血泪史。</p>
<hr>
<h2 id="🧭-当前进度：60-（还在爬坑中）"><a href="#🧭-当前进度：60-（还在爬坑中）" class="headerlink" title="🧭 当前进度：60%（还在爬坑中）"></a>🧭 当前进度：60%（还在爬坑中）</h2><table>
<thead>
<tr>
<th>发行版</th>
<th>使用时间</th>
<th>当前状态</th>
<th>备注</th>
</tr>
</thead>
<tbody><tr>
<td><strong>openSUSE Tumbleweed</strong></td>
<td>2025.03 → 至今</td>
<td>✅ 备用!</td>
<td>滚动更新真香，滚炸也真疼</td>
</tr>
<tr>
<td><strong>Ubuntu 22.04 LTS</strong></td>
<td>2024.12 → 2025.02</td>
<td>✅ 主力系统</td>
<td>图形界面真稳，snap 真卡</td>
</tr>
<tr>
<td><strong>CentOS 7</strong></td>
<td>2024.09 → 2024.11</td>
<td>⚠️ 已退役</td>
<td>yum 慢到怀疑人生，但学会了 systemd</td>
</tr>
</tbody></table>
<hr>
<h2 id="📚-一路留下的脚印"><a href="#📚-一路留下的脚印" class="headerlink" title="📚 一路留下的脚印"></a>📚 一路留下的脚印</h2><h3 id="1️⃣-CentOS-7：第一次亲密接触"><a href="#1️⃣-CentOS-7：第一次亲密接触" class="headerlink" title="1️⃣ CentOS 7：第一次亲密接触"></a>1️⃣ CentOS 7：第一次亲密接触</h3><ul>
<li><strong>场景</strong>：老旧笔记本装黑群晖失败，顺手装了 CentOS 7</li>
<li><strong>学会</strong>：<ul>
<li><code>yum install</code> 换阿里云源</li>
<li><code>systemctl start</code> 启动服务</li>
<li>第一次用 <code>vi</code> 保存文件：按了 10 分钟 ESC</li>
</ul>
</li>
<li><strong>踩坑</strong>：<ul>
<li>把 <code>sudo</code> 用户删了，重启进不去系统</li>
<li>结论：CentOS 适合服务器，不适合桌面</li>
</ul>
</li>
</ul>
<h3 id="2️⃣-Ubuntu-22-04：图形界面真香"><a href="#2️⃣-Ubuntu-22-04：图形界面真香" class="headerlink" title="2️⃣ Ubuntu 22.04：图形界面真香"></a>2️⃣ Ubuntu 22.04：图形界面真香</h3><ul>
<li><strong>场景</strong>：主力办公，需要微信、QQ、VSCode</li>
<li><strong>学会</strong>：<ul>
<li><code>apt</code> 三连：<code>update | upgrade | autoremove</code></li>
<li>用 <code>gnome-tweaks</code> 把字体换成霞鹜文楷</li>
<li>装了 <code>wine</code> 跑微信，结果微信比系统还稳</li>
</ul>
</li>
<li><strong>踩坑</strong>：<ul>
<li>点了“自动登录”，结果忘了密码</li>
<li>结论：Ubuntu 适合新手，但 snap 是真慢</li>
</ul>
</li>
</ul>
<h3 id="3️⃣-openSUSE-Tumbleweed：滚动的快乐"><a href="#3️⃣-openSUSE-Tumbleweed：滚动的快乐" class="headerlink" title="3️⃣ openSUSE Tumbleweed：滚动的快乐"></a>3️⃣ openSUSE Tumbleweed：滚动的快乐</h3><ul>
<li><strong>场景</strong>：想体验最新内核 + KDE 桌面</li>
<li><strong>学会</strong>：<ul>
<li><code>zypper dup</code> 一键滚动更新</li>
<li><code>snapper</code> 回滚系统（救命神器）</li>
<li>用 <code>opi</code> 装专有驱动（NVIDIA &amp; 微信）</li>
</ul>
</li>
<li><strong>踩坑</strong>：<ul>
<li>滚着滚着显卡驱动没了，黑屏</li>
<li>进 snapshot 回滚，继续滚</li>
<li>结论：Tumbleweed 适合爱折腾的人，snapper 是亲妈</li>
</ul>
</li>
</ul>
<hr>
<h2 id="🧰-我的常用命令速查表"><a href="#🧰-我的常用命令速查表" class="headerlink" title="🧰 我的常用命令速查表"></a>🧰 我的常用命令速查表</h2><table>
<thead>
<tr>
<th>场景</th>
<th>Ubuntu</th>
<th>openSUSE</th>
<th>CentOS</th>
</tr>
</thead>
<tbody><tr>
<td>更新系统</td>
<td><code>apt update &amp;&amp; apt upgrade</code></td>
<td><code>zypper dup</code></td>
<td><code>yum update</code></td>
</tr>
<tr>
<td>装软件</td>
<td><code>apt install xxx</code></td>
<td><code>zypper in xxx</code></td>
<td><code>yum install xxx</code></td>
</tr>
<tr>
<td>启服务</td>
<td><code>systemctl start xxx</code></td>
<td><code>systemctl start xxx</code></td>
<td><code>systemctl start xxx</code></td>
</tr>
<tr>
<td>看日志</td>
<td><code>journalctl -xe</code></td>
<td><code>journalctl -xe</code></td>
<td><code>journalctl -xe</code></td>
</tr>
<tr>
<td>回滚</td>
<td>❌</td>
<td><code>snapper rollback</code></td>
<td>❌</td>
</tr>
</tbody></table>
<hr>
<h2 id="🎯-下一步计划"><a href="#🎯-下一步计划" class="headerlink" title="🎯 下一步计划"></a>🎯 下一步计划</h2><ul>
<li><input disabled="" type="checkbox"> 学会用 <code>docker</code> + <code>podman</code> 做容器</li>
<li><input disabled="" type="checkbox"> 把 <code>dotfiles</code> 丢到 GitHub，一键换新机</li>
<li><input disabled="" type="checkbox"> 试试 <code>NixOS</code>，听说滚不炸？</li>
<li><input disabled="" type="checkbox"> 写一份「Linux 小白生存指南」放在博客</li>
</ul>
<hr>
<h2 id="🧷-彩蛋：当前系统-neofetch"><a href="#🧷-彩蛋：当前系统-neofetch" class="headerlink" title="🧷 彩蛋：当前系统 neofetch"></a>🧷 彩蛋：当前系统 neofetch</h2><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br></pre></td><td class="code"><pre><span class="line">            .-/+oossssoo+/-.               snow@snow-Legion-R7000P-ARH7 </span><br><span class="line">        `:+ssssssssssssssssss+:`           ---------------------------- </span><br><span class="line">      -+ssssssssssssssssssyyssss+-         OS: Ubuntu 24.04.3 LTS x86_64 </span><br><span class="line">    .ossssssssssssssssssdMMMNysssso.       Host: 82RE Legion R7000P ARH7 </span><br><span class="line">   /ssssssssssshdmmNNmmyNMMMMhssssss/      Kernel: 6.14.0-32-generic </span><br><span class="line">  +ssssssssshmydMMMMMMMNddddyssssssss+     Uptime: 3 hours, 38 mins </span><br><span class="line"> /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    Packages: 2455 (dpkg), 12 (flatpak), </span><br><span class="line">.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Shell: zsh 5.9 </span><br><span class="line">+sssshhhyNMMNyssssssssssssyNMMMysssssss+   Resolution: 2560x1440 </span><br><span class="line">ossyNMMMNyMMhsssssssssssssshmmmhssssssso   DE: GNOME 46.0 </span><br><span class="line">ossyNMMMNyMMhsssssssssssssshmmmhssssssso   WM: Mutter </span><br><span class="line">+sssshhhyNMMNyssssssssssssyNMMMysssssss+   WM Theme: Adwaita </span><br><span class="line">.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Theme: Yaru-olive [GTK2/3] </span><br><span class="line"> /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/    Icons: WhiteSur-dark [GTK2/3] </span><br><span class="line">  +sssssssssdmydMMMMMMMMddddyssssssss+     Terminal: gnome-terminal </span><br><span class="line">   /ssssssssssshdmNNNNmyNMMMMhssssss/      CPU: AMD Ryzen 7 6800H with Radeon G </span><br><span class="line">    .ossssssssssssssssssdMMMNysssso.       GPU: NVIDIA GeForce RTX 3050 Ti Mobi </span><br><span class="line">      -+sssssssssssssssssyyyssss+-         GPU: AMD ATI Radeon 680M </span><br><span class="line">        `:+ssssssssssssssssss+:`           Memory: 9177MiB / 15170MiB </span><br><span class="line">            .-/+oossssoo+/-. </span><br></pre></td></tr></table></figure>

<h2 id="📮-欢迎留言"><a href="#📮-欢迎留言" class="headerlink" title="📮 欢迎留言"></a>📮 欢迎留言</h2><p>如果你也在用 Linux，或者想入坑，欢迎留言交换踩坑心得！<br><strong>Linux 不是目的地，而是一场没有终点的冒险。</strong></p>
</article><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta"><i class="fas fa-circle-user fa-fw"></i>文章作者: </span><span class="post-copyright-info"><a href="http://example.com">白宣</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta"><i class="fas fa-square-arrow-up-right fa-fw"></i>文章链接: </span><span class="post-copyright-info"><a href="http://example.com/2025/10/06/Linux/">http://example.com/2025/10/06/Linux/</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta"><i class="fas fa-circle-exclamation fa-fw"></i>版权声明: </span><span class="post-copyright-info">本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明来源 <a href="http://example.com" target="_blank">Camelia's Blog</a>！</span></div></div><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags" href="/tags/Linux/">Linux</a><a class="post-meta__tags" href="/tags/openSUSE/">openSUSE</a><a class="post-meta__tags" href="/tags/Ubuntu/">Ubuntu</a><a class="post-meta__tags" href="/tags/CentOS/">CentOS</a></div><div class="post-share"><div class="social-share" data-image="https://free.picui.cn/free/2025/08/01/688c07c335005.jpeg" data-sites="facebook,x,wechat,weibo,qq"></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1.1.6/sharejs/dist/css/share.min.css" media="print" onload="this.media='all'"><script src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1.1.6/sharejs/dist/js/social-share.min.js" defer></script></div></div><nav class="pagination-post" id="pagination"><a class="pagination-related" href="/2025/10/06/article/" title="快速搭建Hexo博客"><div class="cover" style="background: var(--default-bg-color)"></div><div class="info"><div class="info-1"><div class="info-item-1">上一篇</div><div class="info-item-2">快速搭建Hexo博客</div></div><div class="info-2"><div class="info-item-1"> 想拥有属于自己的极简、快速、高颜值静态博客？跟着这篇「一条龙」教程，30 分钟搞定从安装到部署的完整流程！    1. 安装前置依赖   工具 版本要求 下载地址    Node.js ≥ 14.0 官网   Git 任意新版本 官网   安装完后终端执行验证： 12node -v      # 显示 v14 以上即 OKgit --version  2. 创建博客123456789101112① 初始化博客脚手架（自动生成目录）hexo init blog② 进入博客根目录cd blog③ 安装核心依赖npm install④ 启动本地服务器，实时预览hexo server# 简写：hexo s  3. 站点基础配置打开站点配置文件 _config.yml，把默认信息改成自己的： 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798...</div></div></div></a><a class="pagination-related" href="/2025/10/05/hello-world/" title="Hello World"><div class="cover" style="background: var(--default-bg-color)"></div><div class="info text-right"><div class="info-1"><div class="info-item-1">下一篇</div><div class="info-item-2">Hello World</div></div><div class="info-2"><div class="info-item-1">Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new &quot;My New Post&quot;  More info: Writing Run server1$ hexo server  More info: Server Generate static files1$ hexo generate  More info: Generating Deploy to remote sites1$ hexo deploy  More info: Deployment </div></div></div></a></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info text-center"><div class="avatar-img"><img src="/img/loading.gif" data-original="https://free.picui.cn/free/2025/08/01/688c07c335005.jpeg" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info-name">白宣</div><div class="author-info-description">唱跳盒里的尘土，</div><div class="site-data"><a href="/archives/"><div class="headline">文章</div><div class="length-num">4</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">9</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">2</div></a></div><a id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/xxxxxx"><i class="fab fa-github"></i><span>Follow Me</span></a></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn fa-shake"></i><span>公告</span></div><div class="announcement_content">This is my Blog</div></div><div class="sticky_layout"><div class="card-widget" id="card-toc"><div class="item-headline"><i class="fas fa-stream"></i><span>目录</span><span class="toc-percentage"></span></div><div class="toc-content is-expand"><ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#%F0%9F%90%A7-%E6%88%91%E7%9A%84-Linux-%E4%B9%8B%E6%97%85%EF%BC%9A%E4%BB%8E%E2%80%9C%E5%B0%8F%E7%99%BD%E2%80%9D%E5%88%B0%E2%80%9C%E5%B0%8F%E9%BB%91%E2%80%9D"><span class="toc-text">🐧 我的 Linux 之旅：从“小白”到“小黑”</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#%F0%9F%A7%AD-%E5%BD%93%E5%89%8D%E8%BF%9B%E5%BA%A6%EF%BC%9A60-%EF%BC%88%E8%BF%98%E5%9C%A8%E7%88%AC%E5%9D%91%E4%B8%AD%EF%BC%89"><span class="toc-text">🧭 当前进度：60%（还在爬坑中）</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%F0%9F%93%9A-%E4%B8%80%E8%B7%AF%E7%95%99%E4%B8%8B%E7%9A%84%E8%84%9A%E5%8D%B0"><span class="toc-text">📚 一路留下的脚印</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#1%EF%B8%8F%E2%83%A3-CentOS-7%EF%BC%9A%E7%AC%AC%E4%B8%80%E6%AC%A1%E4%BA%B2%E5%AF%86%E6%8E%A5%E8%A7%A6"><span class="toc-text">1️⃣ CentOS 7：第一次亲密接触</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#2%EF%B8%8F%E2%83%A3-Ubuntu-22-04%EF%BC%9A%E5%9B%BE%E5%BD%A2%E7%95%8C%E9%9D%A2%E7%9C%9F%E9%A6%99"><span class="toc-text">2️⃣ Ubuntu 22.04：图形界面真香</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#3%EF%B8%8F%E2%83%A3-openSUSE-Tumbleweed%EF%BC%9A%E6%BB%9A%E5%8A%A8%E7%9A%84%E5%BF%AB%E4%B9%90"><span class="toc-text">3️⃣ openSUSE Tumbleweed：滚动的快乐</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%F0%9F%A7%B0-%E6%88%91%E7%9A%84%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4%E9%80%9F%E6%9F%A5%E8%A1%A8"><span class="toc-text">🧰 我的常用命令速查表</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%F0%9F%8E%AF-%E4%B8%8B%E4%B8%80%E6%AD%A5%E8%AE%A1%E5%88%92"><span class="toc-text">🎯 下一步计划</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%F0%9F%A7%B7-%E5%BD%A9%E8%9B%8B%EF%BC%9A%E5%BD%93%E5%89%8D%E7%B3%BB%E7%BB%9F-neofetch"><span class="toc-text">🧷 彩蛋：当前系统 neofetch</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%F0%9F%93%AE-%E6%AC%A2%E8%BF%8E%E7%95%99%E8%A8%80"><span class="toc-text">📮 欢迎留言</span></a></li></ol></li></ol></div></div><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2025/10/06/project-experience/" title="项目经验">项目经验</a><time datetime="2025-10-06T08:03:49.000Z" title="发表于 2025-10-06 16:03:49">2025-10-06</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2025/10/06/article/" title="快速搭建Hexo博客">快速搭建Hexo博客</a><time datetime="2025-10-06T06:32:00.000Z" title="发表于 2025-10-06 14:32:00">2025-10-06</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2025/10/06/Linux/" title="Linux 之旅">Linux 之旅</a><time datetime="2025-10-06T03:57:19.000Z" title="发表于 2025-10-06 11:57:19">2025-10-06</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2025/10/05/hello-world/" title="Hello World">Hello World</a><time datetime="2025-10-05T09:48:32.919Z" title="发表于 2025-10-05 17:48:32">2025-10-05</time></div></div></div></div></div></div></main><footer id="footer"><div class="footer-other"><div class="footer-copyright"><span class="copyright">&copy;&nbsp;2025 By 白宣</span><span class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo 7.3.0</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly 5.5.1</a></span></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="darkmode" type="button" title="日间和夜间模式切换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside-config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><button id="go-up" type="button" title="回到顶部"><span class="scroll-percent"></span><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/js/utils.js?v=5.5.1"></script><script src="/js/main.js?v=5.5.1"></script><div class="js-pjax"></div><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div>
        <style>
            [bg-lazy] {
                background-image: none !important;
                background-color: #eee !important;
            }
        </style>
        <script>
            window.imageLazyLoadSetting = {
                isSPA: false,
                preloadRatio: 1,
                processImages: null,
            };
        </script><script>window.addEventListener("load",function(){var t=/\.(gif|jpg|jpeg|tiff|png)$/i,r=/^data:image\/[a-z\d\-\.\+]+;base64,/;Array.prototype.slice.call(document.querySelectorAll("img[data-original]")).forEach(function(a){var e=a.parentNode;"A"===e.tagName&&(t.test(e.href)||r.test(e.href))&&(e.href=a.dataset.original)})});</script><script>(r=>{r.imageLazyLoadSetting.processImages=t;var a=r.imageLazyLoadSetting.isSPA,o=r.imageLazyLoadSetting.preloadRatio||1,d=i();function i(){var t=Array.prototype.slice.call(document.querySelectorAll("img[data-original]")),e=Array.prototype.slice.call(document.querySelectorAll("[bg-lazy]"));return t.concat(e)}function t(t){(a||t)&&(d=i());for(var e,n=0;n<d.length;n++)0<=(e=(e=d[n]).getBoundingClientRect()).bottom&&0<=e.left&&e.top<=(r.innerHeight*o||document.documentElement.clientHeight*o)&&(()=>{var t,e,a,o,i=d[n];e=function(){d=d.filter(function(t){return i!==t}),r.imageLazyLoadSetting.onImageLoaded&&r.imageLazyLoadSetting.onImageLoaded(i)},(t=i).dataset.loaded||(t.hasAttribute("bg-lazy")?(t.removeAttribute("bg-lazy"),e&&e()):(a=new Image,o=t.getAttribute("data-original"),a.onload=function(){t.src=o,t.removeAttribute("data-original"),t.setAttribute("data-loaded",!0),e&&e()},a.onerror=function(){t.removeAttribute("data-original"),t.setAttribute("data-loaded",!1),t.src=o},t.src!==o&&(a.src=o)))})()}function e(){clearTimeout(t.tId),t.tId=setTimeout(t,500)}t(),document.addEventListener("scroll",e),r.addEventListener("resize",e),r.addEventListener("orientationchange",e)})(this);</script></body></html>